package com.csun.nusing.bean.jsonbean;

/**
 * 登录json
 * Created by Administrator on 2017/10/26.
 */


public class LoginJsonBean {

    //post
    //  /token


    /**
     * status : true
     * message : 登陆成功    10000_ea2c39e6da1a4d9e801bef841a29deb1
     * data : {"userId":10000,"token":"ea2c39e6da1a4d9e801bef841a29deb1"}
     */

    private boolean status;
    private String message;
    private LoginDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public LoginDataBean getData() {
        return data;
    }

    public void setData(LoginDataBean data) {
        this.data = data;
    }

    public static class LoginDataBean {
        /**
         * userId : 10000
         * token : ea2c39e6da1a4d9e801bef841a29deb1
         */

        private int userId;
        private String token;

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }
    }
}
